<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>精灵图</title>
<body>
    
</body>
</html>
    <style>

        #l {
            width: 150px;
            height: 200px;
            background-image:url(./精灵图.JPG);
            background-repeat: no-repeat;
            background-position: -3px -360px;

        }

        #S {
            width: 158px;
            height: 200px;
            background-image: url(./精灵图.JPG);
            background-repeat: no-repeat;
            background-position: -350px -550px;
        }

        #X {
            width: 150px;
            height: 200px;
            background-image: url(./精灵图.JPG);
            background-repeat: no-repeat;
            background-position: -350px -750px;
        }
    </style>

</head>

<body>
    <!-- L -->
    <div id="l"></div>
    <!-- S -->
    <div id="S"></div>
    <!-- X -->
    <div id="X"></div>
</body>

</html>